<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2025年母婴行业最新资讯与趋势分析</title>
    <!-- 引入TailwindCSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- 移除Framer Motion，使用纯CSS动画 -->
    <!-- 引入Font Awesome -->
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <style>
        /* 自定义颜色配置 */
        :root {
            --primary-purple: #8b5cf6;
            --primary-pink: #ec4899;
            --primary-blue: #3b82f6;
            --primary-green: #10b981;
            --primary-cyan: #06b6d4;
        }
        
        /* 渐变背景 */
        .bg-gradient-purple {
            background: linear-gradient(135deg, #8b5cf6, #6d28d9);
        }
        
        .bg-gradient-pink {
            background: linear-gradient(135deg, #ec4899, #db2777);
        }
        
        .bg-gradient-blue {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
        }
        
        .bg-gradient-green {
            background: linear-gradient(135deg, #10b981, #059669);
        }
        
        .bg-gradient-cyan {
            background: linear-gradient(135deg, #06b6d4, #0891b2);
        }
        
        /* 动画样式 */
        .fade-in-up {
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
        }
        
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 便当盒网格布局 */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            grid-auto-rows: minmax(200px, auto);
            gap: 24px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* 卡片大小 */
        .bento-card-1 { grid-column: span 2; grid-row: span 1; }
        .bento-card-2 { grid-column: span 1; grid-row: span 1; }
        .bento-card-3 { grid-column: span 1; grid-row: span 2; }
        .bento-card-4 { grid-column: span 2; grid-row: span 2; }
        .bento-card-5 { grid-column: span 2; grid-row: span 1; }
        .bento-card-6 { grid-column: span 1; grid-row: span 1; }
        
        /* 高亮效果 */
        .highlight {
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .highlight::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                45deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.1) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            transform: rotate(30deg);
            animation: shine 6s infinite;
        }
        
        @keyframes shine {
            0% { transform: translateX(-100%) rotate(30deg); }
            100% { transform: translateX(100%) rotate(30deg); }
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .bento-card-1, .bento-card-4, .bento-card-5 {
                grid-column: span 1;
            }
            
            .bento-card-3 {
                grid-row: span 1;
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <!-- 头部区域 -->
    <header class="relative min-h-screen flex items-center justify-center">
        <div class="absolute inset-0 bg-gradient-purple opacity-90"></div>
        <div class="container mx-auto px-4 py-20 relative z-10">
            <div class="text-center fade-in-up">
                <h1 class="text-5xl md:text-6xl font-bold text-white mb-6">
                    2025年母婴行业<br>最新资讯与趋势分析
                </h1>
                <p class="text-xl text-white opacity-90 max-w-2xl mx-auto">
                    深度解析2025年中国母婴行业发展现状、消费者行为、市场规模与未来趋势
                </p>
                <div class="mt-10 flex justify-center">
                    <button 
                        class="px-8 py-3 bg-white text-purple-600 rounded-full font-semibold shadow-lg highlight hover:scale-105 transition-transform active:scale-95"
                        onclick="scrollToContent()"
                    >
                        <i class="fa fa-chevron-down mr-2"></i>了解更多
                    </button>
                </div>
            </div>
        </div>
    </header>

    <!-- 核心数据概览 -->
    <section class="py-16 px-4 bg-white">
        <div class="container mx-auto">
            <h2 class="text-3xl font-bold text-center mb-12 text-gray-800">核心行业数据</h2>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                <div class="bg-gradient-purple text-white rounded-2xl p-8 shadow-xl highlight animate-on-scroll" style="animation-delay: 0s;">
                    <div class="text-5xl font-bold mb-4">4.5万亿+</div>
                    <div class="text-lg">2025年预计市场规模</div>
                </div>
                
                <div class="bg-gradient-pink text-white rounded-2xl p-8 shadow-xl highlight animate-on-scroll" style="animation-delay: 0.2s;">
                    <div class="text-5xl font-bold mb-4">70%+</div>
                    <div class="text-lg">90/95后父母占比</div>
                </div>
                
                <div class="bg-gradient-blue text-white rounded-2xl p-8 shadow-xl highlight animate-on-scroll" style="animation-delay: 0.4s;">
                    <div class="text-5xl font-bold mb-4">1亿+</div>
                    <div class="text-lg">小红书母婴用户规模</div>
                </div>
            </div>
        </div>
    </section>

    <!-- 主要内容区域 - 便当盒网格布局 -->
    <section class="py-16 px-4">
        <h2 class="text-3xl font-bold text-center mb-12 text-gray-800">行业深度解析</h2>
        
        <section class="bento-grid">
            <!-- 市场规模卡片 -->
            <div class="bento-card-1 bg-white rounded-2xl shadow-xl overflow-hidden highlight animate-on-scroll" style="animation-delay: 0s;">
                <div class="p-6">
                    <h3 class="text-2xl font-bold mb-4 text-gray-800">市场规模持续增长</h3>
                    <p class="text-gray-600 mb-6">中国母婴市场规模持续扩大，预计2025年将突破4.5万亿元，年复合增长率保持在6%以上。市场增长的主要驱动力包括育儿理念升级、消费能力提升和政策支持。</p>
                    <div class="h-64">
                        <img src="imgs/market_size.svg" alt="2021-2025年中国母婴市场规模预测" class="w-full h-full object-contain">
                    </div>
                    <p class="text-sm text-gray-500 mt-4">数据来源：<a href="#" class="text-purple-600 hover:underline">艾媒咨询《2025中国母婴行业发展报告》</a></p>
                </div>
            </div>
            
            <!-- 消费者画像卡片 -->
            <div class="bento-card-3 bg-gradient-purple text-white rounded-2xl shadow-xl overflow-hidden highlight animate-on-scroll" style="animation-delay: 0.2s;">
                <div class="p-6">
                    <h3 class="text-2xl font-bold mb-6">Z世代父母成为消费主力</h3>
                    <p class="opacity-90 mb-6">2025年，90/95后年轻父母占比将超过70%，成为母婴市场的核心消费群体。这一代父母具有显著不同的消费特征和育儿理念。</p>
                    
                    <div class="h-80">
                        <img src="imgs/consumer_profile.svg" alt="Z世代父母消费特征" class="w-full h-full object-contain">
                    </div>
                    
                    <div class="mt-6">
                        <h4 class="font-semibold text-lg mb-3">Z世代父母核心特征：</h4>
                        <ul class="space-y-2 opacity-90">
                            <li class="flex items-start">
                                <i class="fa fa-check-circle mt-1 mr-2"></i>
                                <span>注重科学育儿，依赖数据和专业知识</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fa fa-check-circle mt-1 mr-2"></i>
                                <span>关注产品成分与安全性，愿意为高质量买单</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fa fa-check-circle mt-1 mr-2"></i>
                                <span>社交媒体种草与KOL推荐是主要购买决策依据</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fa fa-check-circle mt-1 mr-2"></i>
                                <span>追求悦己与育儿的平衡，不放弃个人生活品质</span>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
            
            <!-- 消费升级卡片 -->
            <div class="bento-card-2 bg-white rounded-2xl shadow-xl overflow-hidden highlight animate-on-scroll" style="animation-delay: 0.3s;">
                <div class="p-6">
                    <div class="bg-gradient-pink w-12 h-12 rounded-full flex items-center justify-center mb-4">
                        <i class="fa fa-line-chart text-white text-xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-4 text-gray-800">消费升级明显</h3>
                    <p class="text-gray-600 mb-4">随着育儿观念的转变和家庭收入的提升，母婴消费正经历显著的升级趋势。</p>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fa fa-diamond text-pink-500 mt-1 mr-2"></i>
                            <span><strong>品质至上</strong>：安全、天然、有机产品需求激增</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-user text-pink-500 mt-1 mr-2"></i>
                            <span><strong>个性化需求</strong>：定制化、专属化产品受青睐</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-heart text-pink-500 mt-1 mr-2"></i>
                            <span><strong>悦己消费</strong>：母婴消费不再局限于宝宝，妈妈需求同样重要</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-trophy text-pink-500 mt-1 mr-2"></i>
                            <span><strong>品牌溢价</strong>：高端品牌市场份额持续扩大</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <!-- 渠道分布卡片 -->
            <div class="bento-card-4 bg-white rounded-2xl shadow-xl overflow-hidden highlight animate-on-scroll" style="animation-delay: 0.4s;">
                <div class="p-6">
                    <h3 class="text-2xl font-bold mb-4 text-gray-800">渠道分布与变革</h3>
                    <p class="text-gray-600 mb-6">2025年，母婴行业渠道结构呈现多元化发展，线上线下融合趋势明显。虽然线下渠道仍占据主导地位，但线上渠道增长迅速。</p>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
                        <div class="h-64">
                            <img src="imgs/channel_distribution.svg" alt="2025年母婴行业渠道分布" class="w-full h-full object-contain">
                        </div>
                        <div>
                            <h4 class="font-semibold text-lg mb-4 text-gray-800">渠道发展趋势：</h4>
                            <ul class="space-y-3 text-gray-700">
                                <li class="flex items-start">
                                    <i class="fa fa-store text-blue-500 mt-1 mr-2"></i>
                                    <span><strong>线下渠道</strong>：体验式消费、社群运营成为核心竞争力</span>
                                </li>
                                <li class="flex items-start">
                                    <i class="fa fa-shopping-cart text-blue-500 mt-1 mr-2"></i>
                                    <span><strong>电商平台</strong>：直播带货、内容电商持续增长</span>
                                </li>
                                <li class="flex items-start">
                                    <i class="fa fa-mobile text-blue-500 mt-1 mr-2"></i>
                                    <span><strong>社交电商</strong>：小红书、抖音等平台成为重要获客渠道</span>
                                </li>
                                <li class="flex items-start">
                                    <i class="fa fa-link text-blue-500 mt-1 mr-2"></i>
                                    <span><strong>O2O融合</strong>：线上引流，线下体验，全渠道发展</span>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 政策环境卡片 -->
            <div class="bento-card-2 bg-gradient-blue text-white rounded-2xl shadow-xl overflow-hidden highlight animate-on-scroll" style="animation-delay: 0.5s;">
                <div class="p-6">
                    <div class="bg-white bg-opacity-20 w-12 h-12 rounded-full flex items-center justify-center mb-4">
                        <i class="fa fa-gavel text-white text-xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-4">政策环境优化</h3>
                    <p class="opacity-90 mb-4">2025年，国家继续推出多项政策支持育儿友好型社会建设，为母婴行业发展创造良好环境。</p>
                    <ul class="space-y-3 opacity-90">
                        <li class="flex items-start">
                            <i class="fa fa-random text-white mt-1 mr-2"></i>
                            <span><strong>育儿补贴</strong>：0-3岁现金直补+3-6岁教育券</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-clock-o text-white mt-1 mr-2"></i>
                            <span><strong>育儿假</strong>：男性陪产假延长，灵活办公政策推广</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-child text-white mt-1 mr-2"></i>
                            <span><strong>普惠托育</strong>：支持普惠性托育服务体系建设</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-shield text-white mt-1 mr-2"></i>
                            <span><strong>产品监管</strong>：婴幼儿产品安全标准进一步提高</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <!-- 技术创新卡片 -->
            <div class="bento-card-2 bg-gradient-green text-white rounded-2xl shadow-xl overflow-hidden highlight animate-on-scroll" style="animation-delay: 0.6s;">
                <div class="p-6">
                    <div class="bg-white bg-opacity-20 w-12 h-12 rounded-full flex items-center justify-center mb-4">
                        <i class="fa fa-lightbulb-o text-white text-xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-4">技术创新加速</h3>
                    <p class="opacity-90 mb-4">智能技术与大数据分析深度应用于母婴产品和服务，为行业带来革命性变革。</p>
                    <ul class="space-y-3 opacity-90">
                        <li class="flex items-start">
                            <i class="fa fa-baby text-white mt-1 mr-2"></i>
                            <span><strong>智能育儿产品</strong>：AI监护器、智能奶瓶等产品快速普及</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-heartbeat text-white mt-1 mr-2"></i>
                            <span><strong>健康监测</strong>：可穿戴设备实时监测婴幼儿健康数据</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-brain text-white mt-1 mr-2"></i>
                            <span><strong>AI辅助育儿</strong>：个性化育儿建议、智能早教系统</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-database text-white mt-1 mr-2"></i>
                            <span><strong>大数据应用</strong>：消费行为分析，精准营销</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <!-- 细分赛道卡片 -->
            <div class="bento-card-6 bg-white rounded-2xl shadow-xl overflow-hidden highlight animate-on-scroll" style="animation-delay: 0.7s;">
                <div class="p-6">
                    <h3 class="text-xl font-bold mb-4 text-gray-800">重点增长赛道</h3>
                    <p class="text-gray-600 mb-4">母婴行业细分市场呈现多元化发展，以下领域增长最为显著：</p>
                    
                    <div class="space-y-4">
                        <div class="bg-purple-50 p-3 rounded-lg">
                            <strong class="text-purple-700">婴幼儿营养食品</strong>
                            <p class="text-sm text-gray-600">功能性奶粉、有机辅食需求旺盛，年增长率超过10%</p>
                        </div>
                        <div class="bg-pink-50 p-3 rounded-lg">
                            <strong class="text-pink-700">智能育儿产品</strong>
                            <p class="text-sm text-gray-600">AI监护、智能喂养等产品市场规模突破500亿元</p>
                        </div>
                        <div class="bg-blue-50 p-3 rounded-lg">
                            <strong class="text-blue-700">产后修复与护理</strong>
                            <p class="text-sm text-gray-600">妈妈群体对产后恢复服务需求激增，专业机构兴起</p>
                        </div>
                        <div class="bg-green-50 p-3 rounded-lg">
                            <strong class="text-green-700">教育与早教</strong>
                            <p class="text-sm text-gray-600">0-3岁早教市场快速发展，线上线下融合趋势明显</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 品牌案例卡片 -->
            <div class="bento-card-6 bg-white rounded-2xl shadow-xl overflow-hidden highlight animate-on-scroll" style="animation-delay: 0.8s;">
                <div class="p-6">
                    <h3 class="text-xl font-bold mb-4 text-gray-800">成功品牌案例</h3>
                    <p class="text-gray-600 mb-4">2025年，母婴市场竞争格局变化，以下品牌通过创新战略取得显著成就：</p>
                    
                    <div class="space-y-4">
                        <div class="border border-gray-100 shadow-sm p-3 rounded-lg hover:shadow-md transition-shadow">
                            <div class="flex items-center justify-between">
                                <strong class="text-purple-700">澳特力</strong>
                                <span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">营养品</span>
                            </div>
                            <p class="text-sm text-gray-600">与帝斯曼-芬美意战略合作，推出高活性益生菌系列</p>
                        </div>
                        <div class="border border-gray-100 shadow-sm p-3 rounded-lg hover:shadow-md transition-shadow">
                            <div class="flex items-center justify-between">
                                <strong class="text-pink-700">贝因美</strong>
                                <span class="bg-pink-100 text-pink-800 text-xs px-2 py-1 rounded">乳制品</span>
                            </div>
                            <p class="text-sm text-gray-600">通过大数据分析，精准研发符合中国宝宝体质的奶粉</p>
                        </div>
                        <div class="border border-gray-100 shadow-sm p-3 rounded-lg hover:shadow-md transition-shadow">
                            <div class="flex items-center justify-between">
                                <strong class="text-blue-700">Babycare</strong>
                                <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">全品类</span>
                            </div>
                            <p class="text-sm text-gray-600">社交电商与内容营销双轮驱动，打造全场景母婴生活方式</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 未来展望卡片 -->
            <div class="bento-card-6 bg-white rounded-2xl shadow-xl overflow-hidden highlight animate-on-scroll" style="animation-delay: 0.9s;">
                <div class="p-6">
                    <h3 class="text-xl font-bold mb-4 text-gray-800">未来发展趋势</h3>
                    <p class="text-gray-600 mb-4">展望2025年及未来，母婴行业将呈现以下发展趋势：</p>
                    
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fa fa-rocket text-purple-500 mt-1 mr-2"></i>
                            <span><strong>下沉市场爆发</strong>：三四线城市消费潜力持续释放</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-globe text-purple-500 mt-1 mr-2"></i>
                            <span><strong>国际化竞争</strong>：海外品牌与本土品牌竞争加剧</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-leaf text-purple-500 mt-1 mr-2"></i>
                            <span><strong>可持续发展</strong>：环保、可降解材料成为行业新标准</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-users text-purple-500 mt-1 mr-2"></i>
                            <span><strong>社群经济</strong>：垂直社群成为重要营销与服务渠道</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-internet-explorer text-purple-500 mt-1 mr-2"></i>
                            <span><strong>数字化转型</strong>：全渠道数字化运营成为标配</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <!-- 参考资源卡片 -->
            <div class="bento-card-5 bg-gradient-cyan text-white rounded-2xl shadow-xl overflow-hidden highlight animate-on-scroll" style="animation-delay: 1.0s;">
                <div class="p-6">
                    <h3 class="text-2xl font-bold mb-6 text-center">参考资源与权威链接</h3>
                    
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                        <a href="#" class="block p-4 bg-white bg-opacity-10 rounded-lg hover:bg-opacity-20 transition-all">
                            <i class="fa fa-file-text-o text-2xl mb-2"></i>
                            <div class="font-semibold">艾媒咨询报告</div>
                            <div class="text-sm opacity-80">2025年中国母婴行业深度分析</div>
                        </a>
                        <a href="#" class="block p-4 bg-white bg-opacity-10 rounded-lg hover:bg-opacity-20 transition-all">
                            <i class="fa fa-line-chart text-2xl mb-2"></i>
                            <div class="font-semibold">格隆汇研究</div>
                            <div class="text-sm opacity-80">母婴行业投资价值分析</div>
                        </a>
                        <a href="#" class="block p-4 bg-white bg-opacity-10 rounded-lg hover:bg-opacity-20 transition-all">
                            <i class="fa fa-university text-2xl mb-2"></i>
                            <div class="font-semibold">智研咨询</div>
                            <div class="text-sm opacity-80">中国奶商指数报告</div>
                        </a>
                        <a href="#" class="block p-4 bg-white bg-opacity-10 rounded-lg hover:bg-opacity-20 transition-all">
                            <i class="fa fa-newspaper-o text-2xl mb-2"></i>
                            <div class="font-semibold">baobei360</div>
                            <div class="text-sm opacity-80">母婴行业月度动态报告</div>
                        </a>
                        <a href="#" class="block p-4 bg-white bg-opacity-10 rounded-lg hover:bg-opacity-20 transition-all">
                            <i class="fa fa-users text-2xl mb-2"></i>
                            <div class="font-semibold">小红书研究院</div>
                            <div class="text-sm opacity-80">母婴用户行为白皮书</div>
                        </a>
                        <a href="#" class="block p-4 bg-white bg-opacity-10 rounded-lg hover:bg-opacity-20 transition-all">
                            <i class="fa fa-building text-2xl mb-2"></i>
                            <div class="font-semibold">国家统计局</div>
                            <div class="text-sm opacity-80">人口结构与消费数据</div>
                        </a>
                    </div>
                </div>
            </div>
        </section>
    </section>

    <!-- 页脚区域 -->
    <footer class="bg-gray-900 text-white py-12 px-4">
        <div class="container mx-auto">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-6 md:mb-0">
                    <h3 class="text-2xl font-bold text-purple-400">2025年母婴行业资讯</h3>
                    <p class="text-gray-400 mt-2">深度解析行业趋势，洞察市场机遇</p>
                </div>
                <div class="flex space-x-4">
                    <a href="#" class="text-gray-400 hover:text-white transition-colors">
                        <i class="fa fa-weibo text-xl"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-white transition-colors">
                        <i class="fa fa-wechat text-xl"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-white transition-colors">
                        <i class="fa fa-linkedin text-xl"></i>
                    </a>
                </div>
            </div>
            <hr class="border-gray-800 my-8">
            <div class="text-center text-gray-500">
                <p>&copy; 2025 母婴行业资讯平台 | 数据更新至2025年最新</p>
                <p class="mt-2">创作者: @AI大白</p>
            </div>
        </div>
    </footer>

    <script>
        // 滚动到内容区域
        function scrollToContent() {
            document.querySelector('section:nth-of-type(2)').scrollIntoView({ 
                behavior: 'smooth' 
            });
        }
        
        // 监听滚动，为元素添加动画
        document.addEventListener('DOMContentLoaded', function() {
            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.classList.add('visible');
                    }
                });
            }, {
                threshold: 0.1
            });
            
            document.querySelectorAll('.animate-on-scroll').forEach(item => {
                observer.observe(item);
            });
        });
    </script>
</body>
</html>